package seismosurfer.data;

/**
 * A Data Transfer Object to represent the <code>SEISMO_USER</code> table data.
 *
 */
public class UserData extends DataTransferObject {
    
    private static final long serialVersionUID = -8552474616281811954L;

    public static final String USER = "user";

    private String userName;

    private String password;

    private String nickName;

    private String country;

    private String firstName;

    private String lastName;

    private String city;

    public UserData() {
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String toString() {
        return "\nUser data for " + getNickName() + "\n" + "username (email):"
                + getUserName() + "\n" + "firstName:" + getFirstName() + "\t"
                + "lastName:" + getLastName() + "\n" + "country:"
                + getCountry() + "\t" + "city:" + getCity() + "\n";
    }

}